//
//  GroupParser.h
//  iengage
//
//  Created by Luis Ziliani on 2/12/09.
//  Copyright 2009 Manas. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "UserCollection.h";

enum {
	GeoChatTag,
	GroupsTag,
	GroupTag,
	UsersTag,
	UserTag,
	UserImageTag
};

typedef int	Tag;

@interface GroupParser : NSObject {
	UserCollection *users;
	
	Tag lastTag;
	BOOL errorOccurred;
	
	NSMutableString *imageData;
	
	NSDateFormatter *dateFormatter;
}

@property (readonly) UserCollection* users;

- (BOOL) parse: (NSString *) file;

@end
